# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=zsh-autosuggestions
pkgver=0.6.4
pkgrel=0
pkgdesc="Fish-like autosuggestions for Zsh"
options="!check" # No testsuite
url="https://github.com/zsh-users/zsh-autosuggestions"
arch="noarch"
license="MIT"
depends="zsh"
source="$pkgname-$pkgver.tar.gz::https://github.com/zsh-users/zsh-autosuggestions/archive/v$pkgver.tar.gz"

package() {
	install -D $pkgname.zsh $pkgname.plugin.zsh -t \
		 "$pkgdir/usr/share/zsh/plugins/$pkgname"
}

sha512sums="226b99048577ecdbe198501e6e4b3156c3d849994f0a2f7e15687cd244d4cac472cbcf746aaa32b2886652f6962852a475777b5f2bfcb3a6d0279be98a6020bb  zsh-autosuggestions-0.6.4.tar.gz"
